* {
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

nav {
  margin-top: 100px;
  height: 80px;
  display: flex;
}

.nav_right {
  height: 80px;
  display: inline-block;
  width: 650px;
  display: flex;
  flex-direction: column;
}

.nav_right .nav_text {
  display: flex;
  height: 20px;
  margin-top: 3px;
}

.nav_right .nav_text p {
  font-size: 12px;
  padding: 0 7px;
  color: #878787;
}

.nav_right .box_nav {
  width: 650px;
  border: 2px #F03726 solid;
  height: 35px;
  display: flex;
  justify-content: space-between;
}

.nav_right .box_nav input {
  width: 500px;
  outline: none;
  height: 30px;
  text-indent: 2em;
  border: none;
}

.nav_right .box_nav > div {
  height: 35px;
  width: 80px;
  background-color: #F03726;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: larger;
  color: antiquewhite;
}

section {
  display: flex;
  width: 1200px;
  margin-top: 30px;
}

section div:nth-child(1) {
  height: 40px;
  border: 1px solid #ababab;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

section div:nth-child(1) p {
  width: 80px;
  font-size: 12px;
}

section div:nth-child(1) input {
  height: 20px;
  width: 40px;
  border: 1px solid #ababab;
}

section div:nth-child(2) {
  height: 40px;
  border: 1px solid #ababab;
  flex: 5;
}

.goods_list {
  width: 1200px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.goods_list .good {
  width: 240px;
  box-sizing: border-box;
  border: 1px solid #cfcfcf;
  height: 344px;
  padding: 10px 20px 0 20px;
}

.goods_list .good img {
  width: 100%;
  height: 200px;
}

.goods_list .good .text {
  width: 100%;
  height: 33px;
  overflow: hidden;
  margin: 2px 0;
  font-size: small;
}

.goods_list .good .prise {
  margin: 2px 0;
  color: red;
  font-size: 20px;
}

.goods_list .good .prise span:nth-child(2) {
  font-size: small;
  color: #878787;
  text-decoration: line-through;
  margin: 0 8px;
}

.goods_list .good .shop_info {
  margin-bottom: 5px;
}

.goods_list .good .shop_info span:nth-child(2) {
  font-size: small;
  color: #878787;
  margin: 0 8px;
}

.goods_list .good .xiaoliang {
  padding-top: 5px;
  font-size: small;
  color: #878787;
  margin: 0 8px;
  text-align: end;
}

.icon-fangdajing {
  color: #F03726;
  font-size: small;
  display: inline-block;
}
